#Requires AutoHotkey v2.0


LocalMap := Map(
  "_/", Map(),                    ;这一条(k,v)不要改,这是高频优化

;组件
  "EnLang", ()=>PostMessage(0x0050, 0,0x0001,, "A"),  ; 0x0050 is WM_INPUTLANGCHANGEREQUEST.
  "WindowManager", ()=>WindowManager("b"),
  "CurentTime", curentTime,      ;当前时间
  "ReloadDynamicTasks", ()=>DynamicAddress.init(),
  "GetCursePos", getCursePos,    
  "FirefoxPDF", FirefoxPDF,         ;PDF反色
  "MirrorFLip", VideoMirrorFlip,    ;网页镜像翻转
  "FileDir", changeLoopFileDir,
  "setVideoPage", setVideoPage,   ;视频窗口暂停功能
  "monitorOff",()=>SendMessage(0x112, 0xF170, 2, ,"Program Manager"),
  "ReloadAHK", ahkReload,
  "suspendAhk", ahkSuspend,
  "psShortcuts", A_WorkingDir "/component/ps-shortcuts.ahk",
  "关机Shutdown", ()=>Shutdown(9),

;本地应用
  "计算器calculator","ApplicationFrameHost.exe",
  "Obsidian","C:\Users\26681\AppData\Local\Obsidian\Obsidian.exe",
  "RootObsidian",'D:\Microsoft VS Code\Code.exe E:\Desktop\obsidian\.obsidian"',
  "Excel","C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE",
  "ahk","C:\Program Files\AutoHotkey\Compiler\Ahk2Exe.exe",
  "绘画PhotoShop","D:\ps\ps2020\Adobe Photoshop 2020\Photoshop.exe",
  "vsCode","D:\Microsoft VS Code\Code.exe",
  "数据备份SyncToy","D:\SyncToy\SyncToy.exe",
  "参考图PureRef","D:\pureref\PureRef\PureRef.exe",
  "音乐foobar2000","D:\foobar2000\foobar2000.exe",
  "播放器vlc","E:\格式转换VLC\VLC\vlc.exe",
  "阅读器calibray","C:\Program Files\Calibre2\calibre.exe",
  "Xmind","C:\Users\26681\AppData\Local\Programs\Xmind\Xmind.exe",
  "喜马拉雅Radio","D:\喜马拉雅\ximalaya\喜马拉雅.exe",
  "绘图illustrator","D:\ai\Adobe Illustrator 2022\Support Files\Contents\Windows\Illustrator.exe",
  "建模blender","D:\blender\blender-launcher.exe",
  "小狼毫pinyin","D:\Rime\weasel-0.16.1\WeaselServer.exe",
  "v2rayN","D:\v2rayN-With-Core\v2rayN-With-Core\v2rayN.exe",
  "BitComet","C:\Program Files\BitComet\BitComet.exe",
  "Edge","C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe",
  "Chrome","C:\Program Files\Google\Chrome\Application\chrome.exe",
  "Firefox","C:\Program Files\Mozilla Firefox\firefox.exe",
  "Multisim","C:\Program Files (x86)\National Instruments\Circuit Design Suite 14.3\multisim.exe",
  "stcisp","E:\Desktop\DataSoftWare\stc-isp-v6.92A.exe",
  "keil","D:\Keil_v5\UV4\UV4.exe",
  "SpaceDesk","D:\SpaceDesk\spacedesk\spacedeskConsole.exe",
  "工业设计CAD","D:\cad\AutoCAD 2024\acad.exe",
  "雕刻zbrush","D:\zb\ZBrush.exe",
  "数位板Xencelabs","D:\xencelabs\Xencelabs\Xencelabs.exe",
  "VisualStudio","C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\devenv.exe",
  

;本地文件地址
  "此电脑MyComputer","explorer.exe ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}",
  "desktop","E:\Desktop\",
  "rime","D:\Microsoft VS Code\Code.exe C:\Users\26681\AppData\Roaming\Rime\rime-ice",
)


PrefixMap := Map(
  "_/", Map(),                    ;这一条(k,v)不要改,这是高频优化

;组件
  "useFirefoxRun", useFirefoxRun,
  "useEdgeRun", useEdgeRun,
  "useChromeRun", useChromeRun,
  "reopenCurrentWeb", reopenCurrentWeb,
  "openInBrowserNewPage", openInBrowserNewPage,
  

;编程网站,技术网站
  "gitee","https://gitee.com/",
  "stackOverFlow","https://stackoverflow.com/",
  "单片机stc8","https://www.stcaimcu.com/",
  "medium","https://medium.com/",
  "tiobe","https://www.tiobe.com/",

  "ahk","https://wyagd001.github.io/v2/docs/index.htm",
  "ZigCourse","https://course.ziglang.cc/",
  "ZigDocumentation","https://ziglang.org/documentation/master/",
  "ZigSHOWTIME","https://www.youtube.com/@ZigSHOWTIME",
  "bun","https://bun.sh/docs",
  "react","https://react.dev/learn",
  "obsidian","https://docs.obsidian.md/Home",
  "mermaid","https://mermaid.js.org/intro/",
  "mermaidLiveEditor","https://mermaid.live/edit#pako:eNptkcFSwyAQhl9lh3PTqU1qaw7OaFrHg3rQgwfTwxq2CWOASKC20-m7S0O0M1FOwPft8gMHVmhOLGWfDrlBZbMKjc0V-GGFrQmeCYsKUHEgVWJJkpQFvYECZYOiVG2QdxHuRAsP-quviKJruBdlFZZB2p-l1bnZr3neC_pPpugCXgnaSrvap9g1PsxAmMITEQeroTFaaksDHvsUEW2xdviHJfCIe3gnENIXb6nvnfX3g5sU3ibjeAST8eV6wG47lsxOcBoPadbR2bwrvRrSZUfnixONkyFdhc6T_-ldyNSdO1-s2YhJMhIF9z95OLk5s5V_yZylfsrRfOQsV0fvobP6Za8KllrjaMSMdmXF0g3WrV-5hvsHWgosDcqgHL8B4DKqPg",
  "电路仿真circuitjs","https://lushprojects.com/circuitjs/circuitjs.html",
  "Next.js","https://nextjs.org/docs/",
  "EIDE","https://em-ide.com/docs/intro/",
  "python","https://docs.python.org/zh-cn/3/tutorial/index.html",
  "via","https://usevia.app/",
  "leetcode","https://leetcode.cn/problemset/",
  "VSCodeYoutube","https://www.youtube.com/@code/videos",

;工具网站
  "QQ邮箱","https://wx.mail.qq.com/",
  "百度网盘onlineStorage","https://pan.baidu.com/disk/main?_at_=1724201465869#/index?category=all",
  "字符转化","https://www.iamwawa.cn/fontchanger.html",
  "数学公式LaTex","https://www.latexlive.com/",
  "符号symbol","https://cn.piliapp.com/symbol/",
  "airport","https://j8doba2sodptvzprvmcb.wgetcloud.org/user/subscribe",
  "airport2","https://bby010.com/?tm=1731472435205#/plan",

;内容网站
  "淘宝taobao","https://www.taobao.com/",
  "微信读书reader","https://weread.qq.com/",
  "bilibili","https://www.bilibili.com/",
  "youtube","https://www.youtube.com/",
  "小红书xhs","https://www.xiaohongshu.com/explore",
  "GGAC","https://www.ggac.com/home",
  "netflix","https://www.netflix.com/browse",
  "pixiv","https://www.pixiv.net/",
  "ArtStation","https://www.artstation.com/",
  "维基百科wiki","https://en.wikipedia.org/",
  "GoogleEarth","https://earth.google.com/",
  "reddit","https://www.reddit.com/?feed=home",
  "苹果音乐music","https://music.apple.com/cn/new",
  "sseData活跃股排名","https://www.sse.com.cn/market/stockdata/activity/main/",
  "szseData活跃股排名","https://www.szse.cn/market/stock/active/actv/index.html",
  "hurun百富榜","https://hurun.net/zh-CN/Home/Index",
  "UFC综合格斗","https://www.miguvideo.com/p/home/d4fbc92a89564732ae0716b5342593f4",
  "阮一峰RYF","https://www.ruanyifeng.com/blog/",
  "曲博科技教室","https://www.youtube.com/@Ansforce",
  "钱线百分百","https://www.youtube.com/playlist?list=PLlAWMYbuVkC_x_Hfk6vuA8FhWicFgzCN6",
  "理财达人秀","https://www.youtube.com/playlist?list=PLVu0pIxQ7F-yvxR_dCP_zBgChK3s84b99",
  "文茜的世界周報","https://www.youtube.com/@tvbssisysworldnews",
  "全球新闻","https://www.youtube.com/@tvbsfocus",
  "BloombergTechnology","https://www.youtube.com/bloombergtech",
  "CNBC","https://www.youtube.com/@CNBC",
  "MuLong-PuYang","https://medium.com/@racktar7743",
  "黑马嵌入式语雀文档","https://www.yuque.com/icheima",
  "金十jin10","https://www.jin10.com/",
  "LexFridman","https://www.youtube.com/@lexfridman/videos",

;博客podcast
  "podcasts-","",
  "podcasts-topenddevs","https://topenddevs.com/podcasts",
  "podcasts-codenewbie","https://www.codenewbie.org/",
  "podcasts-softwareengineeringdaily","https://softwareengineeringdaily.com/category/all-episodes/exclusive-content/Podcast/",
  "podcasts-se-radio","https://se-radio.net/",
  "podcasts-shoptalkshow","https://shoptalkshow.com/",
  "podcasts-frontendhappyhour","https://www.frontendhappyhour.com/",
  "podcasts-programmingthrowdown","https://www.programmingthrowdown.com/",
  "podcasts-codershow","https://coder.show/",
  "podcasts-hanselminutes","https://hanselminutes.com/",
  "podcasts-developertea","https://developertea.com/",
  "podcasts-codingblocks","https://www.codingblocks.net/category/podcast/",
  "podcasts-freecodecamp","https://www.freecodecamp.org/news/tag/podcast/",
  
)





SuffixMap := Map(
  "_/", Map(),                    ;这一条(k,v)不要改,这是高频优化

;组件
  "specificRun",()=>specificBrowserRun("https://" . OnlyInput.parameter),
  "vsCode",()=>run(Format('D:\Microsoft VS Code\Code.exe "{1}"',A_Desktop . "\" . OnlyInput.parameter)),
  "run",()=>run(OnlyInput.parameter),
  "toLang",()=>switchToLang(OnlyInput.parameter),
  
  
  "dynamicHotkey",()=>defineSendKeys(OnlyInput.parameter),
  "timmer计时器",()=>funcTimmer(OnlyInput.parameter),
  "showTimmer",()=>toggleShowTimmer(OnlyInput.parameter),
  "windowSize",()=>defineWindowSize(OnlyInput.parameter),
  "defineTask", ()=>DynamicAddress.write(OnlyInput.parameter),
  "switchBrowser",()=> switchBrowsers(OnlyInput.parameter),
  "计算器Eval",()=>eval(OnlyInput.parameter),    ;计算器
  "亮度Brightness",()=>setBrightness(OnlyInput.parameter),     ;设置亮度
  "customFunction",()=>OnlyInput.customFunction:=OnlyInput.parameter,     ;自定义功能,当OnlyInput.door=2时使用.
  "韩语kor",()=>Translate(OnlyInput.parameter, "kor"),
  "日语jp",()=>Translate(OnlyInput.parameter, "jp"),
  "英语en",()=>Translate(OnlyInput.parameter, "en"),
  "翻译toToLang",()=>Translate(OnlyInput.parameter),


;组件查询网站
  "ahkDevDoc",()=>ahkDocument(OnlyInput.parameter),
  "小红书xhs",()=>xiaoHongShuSearch(OnlyInput.parameter),
  "bindSearchWindow",()=>bindSearchWindow(OnlyInput.parameter),    
  "地图earth",()=>googleEarth(OnlyInput.parameter),
  "网页翻译wpTranslate",()=>baiduTranslate(OnlyInput.parameter),

;地址拼接查询网站
  "ahkForums","https://www.autohotkey.com/search/?q=",
  "mdn","https://developer.mozilla.org/zh-cn/search?q=",
  "Microsoft","https://learn.microsoft.com/zh-cn/search/?terms=",
  "github","https://github.com/search?q=",
  "bilibili","https://search.bilibili.com/all?keyword=",
  "youtube","https://www.youtube.com/results?search_query=",
  "netflix","https://www.netflix.com/search?q=",
  "抖音douyin","https://www.douyin.com/search/",
  "快手kuaishou","https://www.kuaishou.com/search/video?searchKey=",
  "google","https://www.google.com/search?q=",
  "bing","https://cn.bing.com/search?q=",
  "百度baidu","https://www.baidu.com/s?wd=",
  "维基wiki","https://en.wikipedia.org/wiki/",
  "dictionary","https://www.merriam-webster.com/dictionary/",
  "python","https://docs.python.org/zh-cn/3/search.html?q=",
  "icon","https://www.iconfont.cn/search/index?searchType=icon&q=",
  "上海证券交易所sse","https://www.sse.com.cn/home/search/?webswd=",
  "深圳证券交易所szse","https://www.szse.cn/application/search/index.html?keyword=",
  "喜马拉雅Radio","https://www.ximalaya.com/so/",
)
